package com.he.DesignPatterns.decorator.demo2;

/**
 * @description: 具体装饰器类继承装饰器类 新增更细操作
 * @Author: HCL
 * @Date: 2024/8/27 14:33
 */
public class UpdateAdd extends DecoratorClass{

    public UpdateAdd(QueryInterface queryInterface) {
        super(queryInterface);
    }

    @Override
    public void queryData() {
        super.queryData();
    }

    public void updateData(){
        System.out.println("新增的更新操作_装饰器模式");
    }
}
